var socket = io.connect("http://localhost:8080");
socket.on("change_from_server",function(data){
	$("textarea").val(data.msg);
});
$(document).ready(function(){
	$("textarea").keyup(function(){
		socket.emit("data",{msg:$("textarea").val()});
	});
});
